package chd.edu.spzx.user.mapper;

import chd.edu.spzx.model.entity.user.UserAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Zhang Chaoliang
 * create 2023
 */
@Mapper
public interface UserAddressMapper {

    /**
     * 获取用户地址列表
     * @return
     */
    List<UserAddress> findUserAddressList(Long userId);

    /**
     * 根据id获取收货地址
     * @param id
     * @return
     */
    UserAddress getUserAddress(Long id);
}
